import { makeAutoObservable } from "mobx";

class Count {
  counter: number = 0;

  constructor() {
    makeAutoObservable(this);
  }

  increment = () => {
    this.counter++;
  }
}

const counterStore = new Count();

export {
  counterStore
}